#include <catch2/catch.hpp>

#include "solution.hpp"

TEST_CASE("020_valid_parentheses", "[020]") {
    CHECK(Solution().isValid("()")     == true);
    CHECK(Solution().isValid("()[]{}") == true);
    CHECK(Solution().isValid("(]")     == false);
    CHECK(Solution().isValid("([)]")   == false);
    CHECK(Solution().isValid("{[]}")   == true);
}
